<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <title><%= @title || "pg" %></title>
    <%= stylesheet_link_tag 'main' %>
    <%#= stylesheet_link_tag 'mac_os_x' %>
    <%#= stylesheet_link_tag 'alert' %>
    <%= javascript_include_tag :defaults %>
    <%#= javascript_include_tag 'window' %>
	<script language="javascript">
	function selcheck() {
	  var objs = document.getElementsByTagName("input");
	  for(var i=0; i<objs.length; i++) {
	    if(objs[i].type.toLowerCase() == "checkbox" )
	      objs[i].checked = !objs[i].checked;
	  }
	}
	</script>
    
  </head>
  <body>
    <a name="top"></a>
    <div id="menu">
      <ul>
        <!-- CSS Tabs -->
        <li><a href="/users"><span>Employees</span></a></li>
        <li><a href="/projects"><span>Tests</span></a></li>
        <li><a href="/products"><span>Products</span></a></li>
        <li><a href="/stores"><span>Stores</span></a></li>
      </ul>
    </div>
    <div id="column_main">
      <div id="flash"><%= flash[:notice] if flash[:notice] %></div>
      <%= yield  %>	
    </div>	
  </body>
</html>
